package com.sky.loveshop.service;

import com.github.pagehelper.PageInfo;
import com.sky.loveshop.entity.PrivateOrderInfoDetail;
import com.sky.loveshop.entity.exception.BizException;
import com.sky.loveshop.entity.qo.PrivateOrderInfoQO;
import com.sky.loveshop.entity.vo.PrivateOrderInfoVO;

import java.util.List;

/**
 * @author xcy
 * @version V1.0
 * @description
 * @date 2024/9/1 2:14
 */
public interface PrivateOrderInfoService {

    void addPrivateOrder(PrivateOrderInfoQO qo) throws BizException;

    void addPrivateOrderDetails(List<PrivateOrderInfoDetail> detailList);

    PageInfo<PrivateOrderInfoVO> listPrivateOrderInfoPages(PrivateOrderInfoQO qo);

    PrivateOrderInfoVO getPrivateOrderInfoById(Integer id);

    List<PrivateOrderInfoDetail> getPrivateOrderInfoDetailsByOrderNo(String orderNo);
}
